﻿<%@ Page Language="C#" MasterPageFile="~/IPMSMasterPage.master" AutoEventWireup="true" CodeFile="OptAgentsUpdate.aspx.cs" Inherits="OptAgentsUpdate" Title="Project Monitoring System" Culture="auto:en-US" UICulture="auto" meta:resourcekey="PageResource1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server" Visible="false"/>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
	<div>
		<fieldset style="text-align: center">
			<legend>
				<asp:Label ID="lblAgentAdd" runat="server" Text="Edit Agent" meta:resourcekey="lblAgentAddResource1"></asp:Label>
			</legend>
			<table>
				<tr>
					<td style="vertical-align: top; text-align: right; width: 137px;">
						<asp:Label ID="lblAgent" runat="server" Text="Agent" meta:resourcekey="lblAgentResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; text-align: left; width: 157px;" colspan="2">
						<asp:TextBox ID="txtAgent" runat="server" CssClass="required" MaxLength="30" ReadOnly="true"></asp:TextBox>
						<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtAgent"
							Display="Dynamic" ErrorMessage="Agent is a required field." meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
					</td>
					<td style="vertical-align: top; width: 157px; text-align: left">
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top; text-align: right; width: 137px; height: 34px;">
						<asp:Label ID="lblName" runat="server" Text="Name" meta:resourcekey="lblNameResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 191px; text-align: left; height: 34px;">
						<asp:TextBox ID="txtName" runat="server" Width="244px" MaxLength="100"></asp:TextBox>
					</td>
					<td style="vertical-align: top; width: 299px; text-align: right; height: 34px;">
						<asp:Label ID="lblChiName" runat="server" Text="Chinese Name" meta:resourcekey="lblChiNameResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 157px; text-align: left; height: 34px;">
						<asp:TextBox ID="txtChiName" runat="server" Width="244px" MaxLength="30"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top; width: 137px; text-align: right">
						<asp:Label ID="lblAddress" runat="server" Text="Address" meta:resourcekey="lblAddressResource1"></asp:Label>
					</td>
					<td colspan="3" style="vertical-align: top; width: 157px; text-align: left">
						<asp:TextBox ID="txtAddress" runat="server" MaxLength="30" TextMode="MultiLine" Width="363px"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top; width: 137px; text-align: right">
						<asp:Label ID="lblWebSite" runat="server" Text="WebSite" meta:resourcekey="lblWebSiteResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 191px; text-align: left">
						<asp:TextBox ID="txtWebSite" runat="server" Width="239px" MaxLength="100"></asp:TextBox>
					</td>
					<td style="vertical-align: top; width: 299px; text-align: right">
						<asp:Label ID="lblJobTitle" runat="server" Text="Job Title" meta:resourcekey="lblJobTitleResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 157px; text-align: left">
						<asp:TextBox ID="txtJobTitle" runat="server" Width="244px" MaxLength="60"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top; width: 137px; text-align: right">
						<asp:Label ID="lblContactPerson" runat="server" Text="Contact Person" meta:resourcekey="lblContactPersonResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 191px; text-align: left">
						<asp:TextBox ID="txtContactPerson" runat="server" Width="244px" MaxLength="30"></asp:TextBox>
					</td>
					<td style="vertical-align: top; width: 299px; text-align: right">
						<asp:Label ID="lblContactPerson2" runat="server" Text="Contact Person 2" meta:resourcekey="lblContactPerson2"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 157px; text-align: left">
						<asp:TextBox ID="txtContactPerson2" runat="server" Width="206px" MaxLength="30"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top; width: 137px; text-align: right; height: 5px;">
						<asp:Label ID="lblPhone" runat="server" Text="Phone Number" meta:resourcekey="lblPhoneResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 191px; text-align: left; height: 5px;">
						<asp:TextBox ID="txtPhone" runat="server" Width="206px" MaxLength="30"></asp:TextBox>
					</td>
					<td style="vertical-align: top; width: 299px; text-align: right; height: 5px;">
						&nbsp;<asp:Label ID="lblPhone2" runat="server" Text="Phone Number 2" meta:resourcekey="lblPhone2Resource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 157px; text-align: left; height: 5px;">
						<asp:TextBox ID="txtPhone2" runat="server" Width="206px" MaxLength="30"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top; width: 137px; text-align: right">
						<asp:Label ID="lblFax" runat="server" Text="Fax Number 1" meta:resourcekey="lblFaxResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 191px; text-align: left">
						<asp:TextBox ID="txtFax" runat="server" Width="206px" MaxLength="30"></asp:TextBox>
					</td>
					<td style="vertical-align: top; width: 299px; text-align: right">
						&nbsp;&nbsp;
						<asp:Label ID="lblFax2" runat="server" Text="Fax Number 2" meta:resourcekey="lblFax2Resource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 157px; text-align: left">
						<asp:TextBox ID="txtFax2" runat="server" Width="206px" MaxLength="30"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td style="vertical-align: top; width: 137px; text-align: right">
						<asp:Label ID="lblEmailAddress" runat="server" Text="Email" meta:resourcekey="lblEmailAddressResource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 191px; text-align: left">
						<asp:TextBox ID="txtEmailAddress" runat="server" Width="206px" MaxLength="30"></asp:TextBox>
					</td>
					<td style="vertical-align: top; width: 299px; text-align: right">
						<asp:Label ID="lblEmailAddress2" runat="server" Text="Email 2" meta:resourcekey="lblEmailAddress2Resource1"></asp:Label>
					</td>
					<td style="vertical-align: top; width: 157px; text-align: left">
						<asp:TextBox ID="txtEmailAddress2" runat="server" Width="206px" MaxLength="30"></asp:TextBox>
					</td>
				</tr>
				<tr>
					<td colspan="4" style="width: 100%; text-align: center">
						<asp:Button ID="btnSave" runat="server" CssClass="submit" Text="Save" OnClick="btnSave_Click" meta:resourcekey="btnSaveResource1" />
						<asp:Button ID="btnCancel" runat="server" CssClass="reset" Text="Back" OnClick="btnCancel_Click" CausesValidation="False" meta:resourcekey="btnCancelResource1" />
					</td>
				</tr>
				<tr>
					<td colspan="4">
						<asp:Label ID="lblError" runat="server" ForeColor="Red" Width="100%" CssClass="error" meta:resourcekey="lblErrorResource1"></asp:Label>
					</td>
				</tr>
			</table>
		</fieldset>
	</div>
</asp:Content>
